package com.zhtx.debt.customer.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 客户审核
 */
@Data
@Entity
@Table(name = "zs_customer_review")
public class ZsCustomerReview implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id", insertable = false, nullable = false)
    private String id;

    /**
     * 客户版本ID
     */
    @Column(name = "customer_version_id", nullable = false)
    private String customerVersionId;

    /**
     * 状态（0待审核，1通过，2不通过）
     */
    @Column(name = "status", nullable = false)
    private Integer status = 0;

    /**
     * 审核意见
     */
    @Column(name = "comment")
    private String comment;

    /**
     * 审核原因
     */
    @Column(name = "customer_info")
    private String customerInfo;

    /**
     * 审核人ID
     */
    @Column(name = "checker")
    private String checker;

    /**
     * 审核人姓名
     */
    @Column(name = "checker_name")
    private String checkerName;

    /**
     * 版本号
     */
    @Column(name = "version")
    private Integer version;

    /**
     * 是否显示（0不显示，1显示）
     */
    @Column(name = "display")
    private Integer display;

    /**
     * 提交部门名字
     */
    @Column(name = "depart_name")
    private String departName;

    /**
     * 创建人ID
     */
    @Column(name = "create_by", nullable = false)
    private String createBy;

    /**
     * 创建人姓名
     */
    @Column(name = "create_name")
    private String createName;

    /**
     * 创建时间
     */
    @Column(name = "create_date", nullable = false)
    private LocalDateTime createDate;

    /**
     * 修改人ID
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 修改人姓名
     */
    @Column(name = "update_name")
    private String updateName;

    /**
     * 修改时间
     */
    @Column(name = "update_date")
    private LocalDateTime updateDate;

    
}